package com.sokal.easycare.modules.clue.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sokal.easycare.common.persistence.Page;
import com.sokal.easycare.common.service.CrudService;
import com.sokal.easycare.modules.clue.entity.ProjectClue;
import com.sokal.easycare.modules.clue.dao.ProjectClueDao;

/**
 * 项目线索Service
 * @author liliangdong
 * @version 2017-04-04
 */
@Service
@Transactional(readOnly = true)
public class ProjectClueService extends CrudService<ProjectClueDao, ProjectClue> {

	public ProjectClue get(String id) {
		return super.get(id);
	}
	
	public List<ProjectClue> findList(ProjectClue projectClue) {
		return super.findList(projectClue);
	}
	
	public Page<ProjectClue> findPage(Page<ProjectClue> page, ProjectClue projectClue) {
		return super.findPage(page, projectClue);
	}
	
	@Transactional(readOnly = false)
	public void save(ProjectClue projectClue) {
		super.save(projectClue);
	}
	
	@Transactional(readOnly = false)
	public void delete(ProjectClue projectClue) {
		super.delete(projectClue);
	}
	
}